﻿
using System;

namespace SuperGo.SilverlightLib {
    public interface ISystem {
        DateTime GetCurrentDateTime();
    }

    public class DefaultSystem : ISystem {
        public DateTime GetCurrentDateTime() {
            return DateTime.Now;
        }
    }

    public class MockSystem : ISystem {
        public DateTime CurrentDateTime { get; set; }

        public DateTime GetCurrentDateTime() {
            return CurrentDateTime;
        }
    }
}
